package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("归属地创建参数")
public class LegalAreaCityCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Long areaId;

    @NotNull(message = "areaName参数缺失")
    @ApiModelProperty(value = "市名")
    private String areaName;

    @NotNull(message = "areaType参数缺失")
    @ApiModelProperty(value = "")
    private Integer areaType;

    @NotNull(message = "parentId参数缺失")
    @ApiModelProperty(value = "")
    private Long parentId;

    @NotNull(message = "areaWord参数缺失")
    @ApiModelProperty(value = "拼音缩写")
    private String areaWord;

}
